package com.bayern.entity;

/**
 * FIFO缓存对象
 * @author linling
 *
 */
public class FIFOObject<K, V> extends CacheObject<K, V>
{
	public FIFOObject(int number, Entry<K, V> entry) 
	{
		super(number, entry);
	}

	@Override
	public int compareTo(CacheObject<K, V> o)
	{
		return number - o.getNumber();
	}

	
	
}
